<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>036-flex布局案例</title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}

			a {
				text-decoration: none;
			}

			ul {
				list-style: none;
			}

			body {
				width: 100%;
				height: 100vh;
				background-image: url('./images/bg.jpg');
				background-repeat: no-repeat;
				background-size: cover;
			}

			.page-header {
				height: 70px;
				background-color: rgba(0, 0, 0, 0.7);
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 0 20px;
			}

			.page-header-nav {
				display: flex;
			}

			.page-header-nav li a {
				color: #fff;
				font-size: 20px;
				border: 1px solid #fff;
				border-radius: 8px;
				padding: 10px;
				margin-right: 20px;
			}

			.page-header-nav li:last-child a {
				margin-right: 0;
			}

			.page-content {
				width: 100%;
				height: calc(100vh - 70px);
				display: flex;
				justify-content: center;
				align-items: center;
			}

			.content-nav {
				width: 1000px;
				height: 300px;
				background-color: skyblue;
				display: flex;
				justify-content: space-evenly;
				align-items: center;
			}

			.content-nav .item {
				width: 180px;
				height: 200px;
				background-color: orange;
			}
		</style>
	</head>
	<body>
		<!-- 头部 -->
		<header class="page-header">
			<a href="#">
				<img src="./images/logo.png" alt="logo" />
			</a>

			<ul class="page-header-nav">
				<li><a href="#">国内校区</a></li>
				<li><a href="#">缅甸校区</a></li>
				<li><a href="#">非洲校区</a></li>
				<li><a href="#">美国校区</a></li>
			</ul>
		</header>

		<!-- 内容 -->
		<div class="page-content">
			<div class="content-nav">
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
				<div class="item"></div>
			</div>
		</div>
	</body>
</html>
